<template>
    <div class="index_cont">
        <div class="box1">
            <schedule />
        </div>

        <div class="flex_center_between" style="height: 50%;margin-top: 10px;">
            <div class="box2">
                <forget />
            </div>

            <div class="box3">
                <datum />
            </div>
        </div>
    </div>
</template>

<script>

    import schedule from './home/schedule.vue'
    import forget from './home/forget.vue'
    import datum from './home/datum.vue'
    import bear_content from '@/views/components/bear_content.vue'

    export default {
        components:{ schedule, forget, datum, bear_content }
    }

</script>

<style lang="scss" scoped>
    .index_cont{
        width: 100%;
        height: 100%;
        background-image: url(@/assets/img/bj.png);
        border-radius: 20px;

        .box1{
            width: 100%;
            height: calc(50% - 10px);
            padding: 2rem;
            background: #fff;
            border-radius: 20px;
            margin-bottom: 10px;
        }
    }

    .box2,.box3{
        width: 50%;
        height: 100%;
        padding: 2rem;
        background: #fff;
        border-radius: 20px;
        box-sizing: border-box;
        
    }

    .box2{margin-right: 5px}
    .box3{margin-left: 5px}
</style>